package cn.usian.feign;

import cn.usian.jyzx.model.entity.product.ProductSku;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;



@FeignClient("product-service")
public interface ProductFeign {
    @GetMapping("api/product/getBySkuId/{skuId}")
    public ProductSku getBySkuId(@PathVariable Integer skuId);
}
